#!/bin/bash
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
export PATH

sh_file=$PWD/$0
sh_path=$(dirname $sh_file)

echo '编译项目 start ...'
cd $sh_path && sh build.sh
echo '上传项目 start ...'
cd $sh_path && sh scp.sh
echo '编译上传 end!'